package org.rcloud.io.service;

import org.rcloud.io.Utils.PageVo;
import org.rcloud.io.Utils.ResultVo;
import org.rcloud.io.model.ArticleTable010Mapping;
import org.rcloud.io.model.Travel;
import org.rcloud.io.model.TravelSite;


/**
 * Created by Administrator on 2019/3/12.
 */
public interface TravelService {

    PageVo<Travel> findTravel();

    ResultVo findByEid(String eid);

    ResultVo savetravel(Travel travel);

    ResultVo findById(int id);

    ResultVo updateTravel(Travel travel);

    PageVo<TravelSite> findTravelSite();

    ResultVo findTravelSiteByEid(String eid);

    ResultVo saveTravelSite(TravelSite travelSite);

    ResultVo updateTravelSite(TravelSite travelSite);

    ResultVo findTravelSiteById(int id);

    ResultVo savaMapping(ArticleTable010Mapping articleTable010Mapping);

}
